<?php




Route::post('/register','AuthController@register');

Route::post('/login', 'AuthController@login');

Route::post('/logout', 'AuthController@logout');

//Route::prefix('v1')->middleware('auth:api')->group(function() {
Route::prefix('v1')->group(function() {
    // 取单条数据
    Route::resource('/talents','TalentController');
    Route::resource('/histories', 'HistoryController');

});